package com.one.common.model.event;

/**
 * Author：zhulunjun
 * Time：2017/9/23
 * description：通用event,封装了基本数据类型
 */

public class CommonEvent extends BaseEvent{

    private String strValue;
    private int intValue;
    private boolean booleanValue;
    private long longValue;
    private double doubleValue;

    public CommonEvent(String strValue) {
        this.strValue = strValue;
    }

    public CommonEvent(int intValue) {
        this.intValue = intValue;
    }

    public CommonEvent(boolean booleanValue) {
        this.booleanValue = booleanValue;
    }

    public CommonEvent(long longValue) {
        this.longValue = longValue;
    }

    public CommonEvent(double doubleValue) {
        this.doubleValue = doubleValue;
    }

    public String getStrValue() {
        return strValue;
    }

    public void setStrValue(String strValue) {
        this.strValue = strValue;
    }

    public int getIntValue() {
        return intValue;
    }

    public void setIntValue(int intValue) {
        this.intValue = intValue;
    }

    public boolean isBooleanValue() {
        return booleanValue;
    }

    public void setBooleanValue(boolean booleanValue) {
        this.booleanValue = booleanValue;
    }

    public long getLongValue() {
        return longValue;
    }

    public void setLongValue(long longValue) {
        this.longValue = longValue;
    }

    public double getDoubleValue() {
        return doubleValue;
    }

    public void setDoubleValue(double doubleValue) {
        this.doubleValue = doubleValue;
    }
}
